package com.ponhu.ea2.service.facade;

import cn.hutool.db.PageResult;
import com.ponhu.ea2.common.basic.model.ResponseBean;
import com.ponhu.ea2.entity.CloudTradeGoods;
import com.ponhu.ea2.vo.PhMaterialVo;

import java.util.List;

public interface GoodsCenterForCloudTradeService {

    /**
     * 添加云商商品到商品中心中间表
     * @param cloudTradeGoods
     */
    public ResponseBean<String> addCloudTradeGoodsToMidTable(CloudTradeGoods cloudTradeGoods);

    /**
     * 更新云商商品信息
     * @param channelGoodsCode
     * @return
     */
    public ResponseBean updateCloudTradeGoodsByChannelGoodsCode(String channelGoodsCode);

    /**
     * 获取物料数据列表
     * @param categoryId
     * @param brandId
     * @param serialId
     * @param modelId
     * @return
     */
    public ResponseBean<PageResult<List<PhMaterialVo>>> getMaterialList(Long categoryId, Long brandId, Long serialId, Long modelId);
}
